﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Infrastructure;
using WsdShop.Model;
using WsdShop.Model.SearchModels;
using WsdShop.Model.ViewModels;

namespace WsdShop.IService
{
    public interface ISpikeService
    {
        List<SpikeResponse> SpikeManage(SpikeManageSearchModel search, out int total);

        Result DelSpike(int Id, int currentUserId);

        Result ChangeSpikeState(int Id, int currentUserId);

        Result ChangeSpikeEndTime(int Id, DateTime EndTime, int currentUserId);

        SpikeEditResponse SpikeEdit(int Id);

        Result SpikeEditSubmit(Activity_Spike Activity, List<Activity_SpikeSpec> SpikeActivityProductSelectedList,int currentUserId);

        List<SpikeListResponse> GetSpikeList();

        Activity_Spike FindActivity_Spike(int id);

        Activity_SpikeSpec GetSpikeProduct(int SpikeId, string sku);
    }
}
